/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.app.page.comment;

import com.shop.cereshop.app.annotation.KeepLongAsNumber;
import com.shop.cereshop.commons.domain.common.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 评论数据
 */
@Data
@ApiModel(value = "CommentCount", description = "评论数据")
public class CommentCount {

    @ApiModelProperty(value = "全部评价数量")
    @KeepLongAsNumber
    private Long total;

    @ApiModelProperty(value = "好评数量")
    @KeepLongAsNumber
    private Long goodTotal;

    @ApiModelProperty(value = "中评数量")
    @KeepLongAsNumber
    private Long mediumTotal;

    @ApiModelProperty(value = "差评数量")
    @KeepLongAsNumber
    private Long badTotal;

    @ApiModelProperty(value = "追评数量")
    @KeepLongAsNumber
    private Long retryTotal;

    @ApiModelProperty(value = "图/视频评价数量")
    @KeepLongAsNumber
    private Long imageTotal;

    @ApiModelProperty(value = "列表数据")
    private Page<SelfComment> page;
}
